package br.ufrgs.inf.engsoft.stp.exchange;

import br.ufrgs.inf.engsoft.stp.product.Product;

public class ExchangeObject {
    
    public static final String PROPERTY_P1 = "p1.name";
    public static final String PROPERTY_P2 = "p2.name";
    public static final String PROPERTY_STATUS = "status";
    
    private Product p1;
    private Product p2;
    private String status;
    
    public ExchangeObject(Product p1, Product p2, String status) {
        this.p1 = p1;
        this.p2 = p2;
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Product getP2() {
        return p2;
    }

    public void setP2(Product p2) {
        this.p2 = p2;
    }

    public Product getP1() {
        return p1;
    }

    public void setP1(Product p1) {
        this.p1 = p1;
    }
}
